#include <stdio.h>
#include <ctype.h>
int chartest(char ch);
void eatline(void);
int position(char ch);
int main(void)
{
	char ch;
	int status;
	
	while((ch = getchar()) != EOF){
		eatline();	
		status=chartest(ch);
		printf("The status is %d\n",status);	
	}		
	
	return 0;
}
int chartest(char ch)
{
	if(isalpha(ch))
		return position(ch);	
	else
		return -1; 
}
int position(char ch){
	ch=tolower(ch);
	int pos;
	pos = (int)ch-'a'+1;
	return pos;
}
void eatline(void){
	while(getchar() != '\n')
		continue;
		
	return;
}
